package com.nnnu.wsnackshop.pojo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import jakarta.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 骑手状态数据传输对象
 */
@Data
@Schema(description = "骑手状态数据传输对象")
public class RiderStatusDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotNull(message = "状态不能为空")
    @Schema(description = "状态: 0=离线, 1=空闲, 2=忙碌")
    private Integer status;
}